/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.letmeshare.pedagogueejb;

import javax.ejb.embeddable.EJBContainer;
import org.junit.AfterClass;
import org.junit.BeforeClass;
import org.junit.runner.RunWith;
import org.junit.runners.Suite;
import org.junit.runners.Suite.SuiteClasses;

/**
 *
 * @author aby
 */

@RunWith(Suite.class)
@SuiteClasses({AdmissionGatewayTest.class,UserGatewayTest.class})
public class PedagogueTestSuite {
    public static EJBContainer container;
    @BeforeClass
    public static void setUp() {
    	System.out.println("Pedagogue Test Suite Stared..");
        container = javax.ejb.embeddable.EJBContainer.createEJBContainer();
    }

    @AfterClass
    public static void tearDown() {
        System.out.println("Pedagogue Test Suite Ends...");
        System.out.println("Stoping Container...");
        container.close();
    	System.out.println("Test Ends.. ");
    }
    
}
